package juc.threadbase;

public class ThreadStateTest {

    public static void main(String[] args) throws InterruptedException {
        Thread thread = new Thread();
        System.out.println("线程状态:"+thread.getState());
        thread.start();
        System.out.println("线程状态:"+thread.getState());
        Thread.sleep(100);
        System.out.println("线程状态:"+thread.getState());
    }
}
